package ae.pcfc.etks.online.common.domain;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * TTscVisaTypeId entity. @author Mohtisham.Salahria
 */

@Entity
@Table(name = "T_TSC_VISA_TYPE", schema = "TSC_RW")
public class TTscVisaType implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String vtCode;
	private String vtDesc;
	private String vtDescArb;
	private String vtStatus;
	private String vtCreateduser;
	private Date vtCreatedtime;
	private String vtModifieduser;
	private Date vtModifiedtime;

	// Constructors

	/** default constructor */
	public TTscVisaType() {
	}

	/** full constructor */
	public TTscVisaType(String vtCode, String vtDesc, String vtDescArb,
			String vtStatus, String vtCreateduser, Date vtCreatedtime,
			String vtModifieduser, Date vtModifiedtime) {
		this.vtCode = vtCode;
		this.vtDesc = vtDesc;
		this.vtDescArb = vtDescArb;
		this.vtStatus = vtStatus;
		this.vtCreateduser = vtCreateduser;
		this.vtCreatedtime = vtCreatedtime;
		this.vtModifieduser = vtModifieduser;
		this.vtModifiedtime = vtModifiedtime;
	}

	// Property accessors
	@Id
	@Column(name = "VT_CODE", length = 10)
	public String getVtCode() {
		return this.vtCode;
	}

	public void setVtCode(String vtCode) {
		this.vtCode = vtCode;
	}

	@Column(name = "VT_DESC", length = 50)
	public String getVtDesc() {
		return this.vtDesc;
	}

	public void setVtDesc(String vtDesc) {
		this.vtDesc = vtDesc;
	}

	@Column(name = "VT_DESC_ARB", length = 50)
	public String getVtDescArb() {
		return this.vtDescArb;
	}

	public void setVtDescArb(String vtDescArb) {
		this.vtDescArb = vtDescArb;
	}

	@Column(name = "VT_STATUS", length = 10)
	public String getVtStatus() {
		return this.vtStatus;
	}

	public void setVtStatus(String vtStatus) {
		this.vtStatus = vtStatus;
	}

	@Column(name = "VT_CREATEDUSER", length = 50)
	public String getVtCreateduser() {
		return this.vtCreateduser;
	}

	public void setVtCreateduser(String vtCreateduser) {
		this.vtCreateduser = vtCreateduser;
	}

	@Temporal(TemporalType.DATE)
	@Column(name = "VT_CREATEDTIME", length = 7)
	public Date getVtCreatedtime() {
		return this.vtCreatedtime;
	}

	public void setVtCreatedtime(Date vtCreatedtime) {
		this.vtCreatedtime = vtCreatedtime;
	}

	@Column(name = "VT_MODIFIEDUSER", length = 50)
	public String getVtModifieduser() {
		return this.vtModifieduser;
	}

	public void setVtModifieduser(String vtModifieduser) {
		this.vtModifieduser = vtModifieduser;
	}

	@Temporal(TemporalType.DATE)
	@Column(name = "VT_MODIFIEDTIME", length = 7)
	public Date getVtModifiedtime() {
		return this.vtModifiedtime;
	}

	public void setVtModifiedtime(Date vtModifiedtime) {
		this.vtModifiedtime = vtModifiedtime;
	}
}